package design.patterns.builder.framework;

/**
 * @Desc:   导演类，调用具体建造者进行产品的建造
 * @author: cww
 * @DateTime: 2020-06-08 19:10
 */

public class  Director {
    private Builder builder;
    public void construct() {
        builder = new ConcreteBuilder();
        builder.buildPart1();
        builder.buildPart2();
        builder.retrievedProduct();
    }
}
